package org.example.springboot3.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.springboot3.domain.Activities;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author xu264
* @description 针对表【activities】的数据库操作Mapper
* @createDate 2025-05-26 13:27:59
* @Entity org.example.springboot3.domain.Activities
*/
public interface ActivitiesMapper extends BaseMapper<Activities> {
    List<Activities> getActivitiesByOrganizerId(String id);//通过创建者ID查询活动列表
    List<Activities> searchActivities(@Param("keyWord")String keyWord);
    int updateAuditStatus(@Param("activityId")String id,@Param("auditStatus")String status);//修改活动的审核状态
    int updateActivitySelective(Activities activities);
}




